home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ Shortcut 2.xpl
< prev
next >
Wrap
Text File
|
2001-01-21
|
2KB
|
87 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Appearance\Files&Folders\Shortcuts"
"NAME"="Shortcut Prefix"
"VERSION"="1.40"
"LANGUAGE"="VBScript"
"TEXT 1"="Use prefix "Shortcut to..." for new shortcuts"
"DESCRIPTION 1"="Normally, Windows adds the text "Shortcut to" to any new shortcut you create."
"DESCRIPTION 2"="If you do not like this, deactivate this option."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="see also MS KB Q253212"
"COMMENT 3"=" "
"COMMENT 4"="Thanks to Siegfried Burgstedt (siegfried.burgstedt@gmx.net)"
"COMMENT 5"="Thanks to David Goodenough (dpg@ix.netcom.com) for the Win95 fix"
"COMMENT 6"="Thanks to Danny Kohn [danny.kohn@systematik.se] for the <delete> fix"
sP="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link"
Sub Plugin_Initialize
s=RegReadValue(sP)
if GetWinVer=1 then
if IsEmpty(s) then
SetUIElement 1, true
end if
else
if IsEmpty(s) then
SetUIElement 1,false
else
if s="00000000" then
SetUIElement 1,false
else
SetUIElement 1, true
end if
end if
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
'Fix #2
if GetWinVer=1 then
if b=true then
If IsEmpty(RegReadValue(sP))=true then
Call RegDeleteValue(sP)
end if
else
Call RegWriteValue(sP,"00000000",3)
end if
else
if b=true then
'Fix #1
'Call RegDeleteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link")
Call RegWriteValue(sP,"30000000",3)
else
'Fix #2
'Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link","00000000",3)
If IsEmpty(RegReadValue(sP))=true then
Call RegDeleteValue(sP)
end if
end if
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub